package com.yaohuan.controller;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author YaoHuan
 * @ClassName TestController
 * @Description TODO
 * @Date 2023/2/9 16:16
 */
@RestController
@Api(value = "测试",tags = "测试1")
public class TestController {

    @ApiOperation("输出Hello World!")
    @GetMapping("/hello")
    public String hello() {
        return "Hello World!";
    }
}
